#!/bin/bash -ex

git clone --depth 1 https://github.com/mheistermann/HashPump-partialhash.git
cd HashPump-partialhash
make -j $(nproc)
cd ..

mkdir bin
cd bin
ln -s ../HashPump-partialhash/hashpump .
cd ..
